package com.ccb.jyzx.expand.tiantouonline.service.impl;

import com.ccb.jyzx.expand.tiantouonline.bean.FileToPdf;
import com.ccb.jyzx.expand.tiantouonline.dao.FileToPdfDao;
import com.ccb.jyzx.expand.tiantouonline.service.FileToPdfService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.sql.SQLException;

/**
 * @ProjectName: extend
 * @Author: jianghaolin
 * @Version: 1.0
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class FileToPdfServiceImpl implements FileToPdfService {

    @Autowired
    private FileToPdfDao fileToPdfDao;

    @Override
    public void save(FileToPdf pojo) throws SQLException {
        fileToPdfDao.save(pojo);
    }
}
